<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
	<script type="text/javascript">
		var obj=new Object();
		obj.name='yyx';
		obj.qq='123456';

		obj.showName=function(){
			alert('我的名字叫：'+this.name);
		}

		obj.showQQ=function(){
			alert('我的QQ:'+this.qq);
		}

		obj.showName();
		obj.showQQ();
	</script>
</head>
<body>
	
</body>
</html>